const http = require('http');
const server = http.createServer();
server.on('request', function(request, response) {
    console.log('Someone visit!');
});

server.listen(80, () => {
    console.log('http server running http://127.0.0.1');
});